package kr.saeildamil.beatboxmix;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;

public class MainActivity extends Activity {
	int width;
	int height;

	@SuppressWarnings("deprecation")
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		Window win = getWindow();
		width = win.getWindowManager().getDefaultDisplay().getWidth();
		height = win.getWindowManager().getDefaultDisplay().getHeight();
		win.requestFeature(Window.FEATURE_NO_TITLE);
		win.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
	
		setContentView(R.layout.mainintro);

	}

	
	public void mOnClick(View v) {
		Intent intent = new Intent();
		intent.setClass(this, MainSelect.class);
		intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
		startActivity(intent);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}

}